package org.afei.ioc.entity;

import java.util.List;

/**
 * 服务提供者描述信息载体
 *
 * @author afei
 * @date 17-5-25.
 */
public class BeanEntity {

    /**
     * the name of a bean
     */
    private String name;
    /**
     * the type of bean
     */
    private String type;
    private Object value;  //服务提供者实例
    private List<ServiceEntity> serviceEntityList;   //服务提供者提供的所有服务

    public BeanEntity() {
    }

    public BeanEntity(String name, String type) {
        this.name = name;
        this.type = type;
    }


    public BeanEntity(String name, String type, List<ServiceEntity> serviceEntityList) {
        this.name = name;
        this.type = type;
        this.serviceEntityList = serviceEntityList;
    }

    public List<ServiceEntity> getServiceEntityList() {
        return serviceEntityList;
    }

    public void setServiceEntityList(List<ServiceEntity> serviceEntityList) {
        this.serviceEntityList = serviceEntityList;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Object getValue() {
        return value;
    }

    public void setValue(Object value) {
        this.value = value;
    }

}
